executor: add ordered window builder#68480
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (4)
📝 WalkthroughWalkthroughThis PR introduces ChangesOrdered Window Executor
Estimated code review effort🎯 2 (Simple) | ⏱️ ~12 minutes Possibly related PRs
Suggested labels
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## master #68480 +/- ##
================================================
- Coverage 77.2798% 75.3559% -1.9239%
================================================
Files 2010 2018 +8
Lines 555326 566697 +11371
================================================
- Hits 429155 427040 -2115
- Misses 125251 139359 +14108
+ Partials 920 298 -622
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
|
/retest |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: tangenta, windtalker The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
[LGTM Timeline notifier]Timeline:
|
|
/retest |
3 similar comments
|
/retest |
|
/retest |
|
/retest |
|
@hawkingrei: The following test failed, say
Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
|
/retest |
What problem does this PR solve?
Issue Number: ref #67989
Problem Summary:
This PR keeps only the executor-side building block needed by follow-up ordered-window planning work. It intentionally does not include planner enumeration, index-join fusion, or partition TopN pruning.
What changed and how does it work?
OrderedWindowExecas a thin wrapper overPipelinedWindowExec.PipelinedWindowExec.OpenSelf()so builder paths that already opened children can initialize only window-local state.BuildOrdered(...), which forces the pipelined window executor and leaves the ordered-input guarantee to the caller.tidb_enable_pipelined_window_functionis disabled.Check List
Tests
Commands:
make bazel_preparegit diff --checkAdditional validation:
Local limitation:
No space left on device) while writing temporary build outputs.Side effects
Documentation
Release note
Please refer to Release Notes Language Style Guide to write a quality release note.
Summary by CodeRabbit
New Features
Tests